Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Foxx.Model の受け入れられる値を指定する方法はありますか?
次のようなものが理想的です。
var ExampleModel = Foxx.Model.Extend({}, { attributes: { field: { type: "string", required: true, values: ['one', 'two'] } } });
前もって感謝します。