feat(accident): update accident field type and enhance textarea styling
- Changed the accident field type from STRING to TEXT in the Accident model to accommodate larger input. - Increased the minimum height of the textarea in AccidentFormDialog and added font styling for improved readability.
This commit is contained in:
@@ -13,7 +13,7 @@ const Accident = sequelize.define('Accident', {
|
||||
allowNull: false,
|
||||
},
|
||||
accident: {
|
||||
type: DataTypes.STRING,
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: false,
|
||||
set(value) {
|
||||
const encryptedValue = encryptData(value);
|
||||
|
||||
Reference in New Issue
Block a user