dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Clarify Modifier doc for name and default value

Open daanzu opened this issue 5 months ago • 3 comments

daanzu avatar Sep 02 '25 13:09 daanzu

I guess it could be handy sometimes to set a name, but it's awfully convenient to let it just take over its child's name.

daanzu avatar Sep 03 '25 13:09 daanzu

Yes, the handy default behaviour should stay. Ditto for the value of Modifier elements. I guess a different name would only make sense if the child element/extra is used more than once.

drmfinlay avatar Sep 04 '25 02:09 drmfinlay

Upon reflection, adding a name parameter would also be good for avoiding resulting in an error if someone passes name out of habit.

daanzu avatar Sep 04 '25 05:09 daanzu