无法在文本字段中输入 Vaadin。

huangapple go评论110阅读模式
英文:

Cant type in text fields Vaadin

问题

I can't input anything to my text fields in Vaadin.
They seem like they are readOnly but I change it to false and it's not helping.
I'm adding links to CarForm where I create the form for my fields and CarView where I implement the CarForm.

英文:

I can't input anything to my text fields in Vaadin.
They seems like they are readOnly but I change it to false and not helping.
I'm adding links to CarForm where I create form of my fields and CarView where I implement the CarFrom.

enter image description here

https://github.com/pietryczko/Car-Rental-Frontend/commit/b1402d31970925c405b1ba4e1cd29c4dc70447b9#diff-d81d9d922d1c41ff4195d75d75ab037132f09673855aad9de429028c39ead13a

https://github.com/pietryczko/Car-Rental-Frontend/comamit/b1402d31970925c405b1ba4e1cd29c4dc70447b9#diff-4fffa8de6937448a38eeee4881c32009b3b6923be141ededfc5ef585d50497a1

答案1

得分: 3

似乎您使用与 Binder 一起的 Dto 类没有 setter 方法,因此 binder 将 UI 字段标记为只读。

英文:

It seems like that the Dto class you are using with Binder has no setter methods, thus binder marks the UI fields as readonly

huangapple
  • 本文由 发表于 2023年6月29日 05:35:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/76576851.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定