回答編集履歴
1
代案を変更
test
CHANGED
@@ -24,6 +24,10 @@
|
|
24
24
|
|
25
25
|
```
|
26
26
|
|
27
|
-
これが受け入れられなければ、(私もこれは若干気持ち悪い。)
|
28
27
|
|
29
|
-
|
28
|
+
|
29
|
+
回答修正しました。
|
30
|
+
|
31
|
+
以下のページの様に MaxLengthAttrebute を継承してみてはどうでしょう?(チェックが動くかは未検証)
|
32
|
+
|
33
|
+
[https://stackoverflow.com/questions/20022553/c-sharp-extend-mvc-maxlengthattribute-with-own-error-message](https://stackoverflow.com/questions/20022553/c-sharp-extend-mvc-maxlengthattribute-with-own-error-message)
|