Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve App::getTag() #1839

Merged
merged 24 commits into from
Aug 30, 2022
Merged

Improve App::getTag() #1839

merged 24 commits into from
Aug 30, 2022

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Aug 29, 2022

fixes #1838

fix too many "form elements" tags introduced in #1275

minor BC break implied by some no longer supported inputs

@mvorisek mvorisek marked this pull request as ready for review August 29, 2022 10:56
@mvorisek mvorisek marked this pull request as draft August 29, 2022 11:24
@mvorisek mvorisek force-pushed the improve_get_tag_param_type branch from daf69d5 to 197d0ee Compare August 30, 2022 12:06
src/Form.php Outdated
{
$innerFormTags = ['button', 'datalist', 'fieldset', 'input', 'keygen', 'label', 'legend',
'meter', 'optgroup', 'option', 'output', 'progress', 'select', 'textarea', ];
$innerFormTags = ['button', 'fieldset', 'input', 'output', 'select', 'textarea'];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all other removed tags were added wrongly, they have no form nor for attribute

label is non-value tag /w for attribute, removing now, hopefully not needed - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label

@mvorisek mvorisek marked this pull request as ready for review August 30, 2022 13:27
@mvorisek mvorisek merged commit a036f67 into develop Aug 30, 2022
@mvorisek mvorisek deleted the improve_get_tag_param_type branch August 30, 2022 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Readonly/disabled Dropdown form control must not be clickable/changeable
1 participant