-
Notifications
You must be signed in to change notification settings - Fork 0
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
ChannelForm: Render default values as element values #175
Conversation
9fe27b7
to
b7051ac
Compare
c66c5b9
to
6fc00d4
Compare
6fc00d4
to
4ae51ff
Compare
4ae51ff
to
7efdd25
Compare
7efdd25
to
77275e3
Compare
77275e3
to
bd94f9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine now. But I don't like the handling of defaults for required elements: Icinga/icinga-notifications#172
37fcc1c
to
98f4f36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default values, that are not adjusted by the user, must not be written to database.
Instead of rendering default values as placeholders, render them as form element values.
98f4f36
to
31de5e1
Compare
Instead of rendering default values as placeholders, render them as element values.