dt-multi-text-link component functionality (early version)#192
dt-multi-text-link component functionality (early version)#192brady-lamansky-gtt wants to merge 8 commits intoDiscipleTools:masterfrom
Conversation
❌ Deploy Preview for jade-chebakia-17493f failed.Built without sensitive environment variables
|
| value: { | ||
| type: Array, | ||
| reflect: true, | ||
| }, | ||
| groups: { type: Array }, | ||
| open: { | ||
| type: Boolean, | ||
| state: true, | ||
| }, | ||
| activeIndex: { | ||
| type: Number, | ||
| state: true, | ||
| }, |
There was a problem hiding this comment.
You shouldn't need to redefine properties that are in the parent class if its type hasn't changed. value is in DtMultiText as an array
|
Other than that, it's looking good-to-go! Nice work! Let's go ahead and work on the PR for the theme to implement this new component for the Links field type. Make sure to find the old js and remove what isn't needed any more in the process. I'll leave this open until we're sure everything is working in the theme too. |
| export const Empty = Template.bind({}) | ||
| Empty.args = { |
There was a problem hiding this comment.
Instead of the Template.bind legacy syntax, can we update this to the modern JSON object notation?
|
@brady-lamansky-gtt This looks like it's ready to go. Let's get the PR for the theme ready to make sure it's working there as well. I'll leave this one open until we can confirm it works as expected in the theme too. |







@cairocoder01 Here's what @jlamanskygitt & I set up for the new multi-text field type. It extends multi-text since it uses a the same base functionality, but I also re-created some functions from HasOptionsList for the dropdown navigation. I'm sure this isn't the optimal way to handle it. Please let us know what suggestions you have for improvements!