-
Notifications
You must be signed in to change notification settings - Fork 2.1k
asp-format is not respected on input[type=hidden] fields #5094
Comments
@dougbu can you have a look? I'm not super familiar with what the intended interaction of these properties and behaviors is. |
@Haplois this would be a breaking change since formats, especially default formats, have not applied to More generally, please do not call the existing But your commit is close to what we'd like to see in a PR as long as we can do it in 1.1.0... @Eilon in the past, |
BTW, since |
Those variables are fine where they are but I'm not positive what you mean by "is it 🆗 there"? |
@dougbu somehow I accidentally deleted a part of message before I post it. What I tried to write was: "is it OK to move it there" |
Let's not do additional refactoring in this PR |
Should I issue a pull request? |
@dougbu regarding this comment>
I'm not sure I understand what the difference in behavior is. You're saying the Hidden HTML Helpers never supported format. But the Hidden Tag Helpers do support format? And what's the change? I.e. what's the before after that's changing? Hidden HTML Helper:
Hidden Tag Helper:
|
@Eilon sorry for throwing in the HTML helpers. That just served to make my comment more confusing. The 1.0.0 Hidden HTML helperNo change.
|
Seems safe enough to add. Let's do it. |
I issued the pull request. Sorry for delay. I'm on vocation. |
I have a form with couple of hidden fields. One of them is
DateTime?
, this field is not rendered in the RFC3389 format. Furthermore, if I define aasp-format
attribute, tag helper simply dismisses this.To fix this, I forked the repository and started to make code changes. I didn't issued a pull request since it felt like a huge change. Is it OK?
Changes are here: Haplois@623eeb3
The text was updated successfully, but these errors were encountered: