Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10352649
simple-form-field.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
384 B
Referenced Files
None
Subscribers
None
simple-form-field.ts
View Options
import
{
FieldParseResult
,
FormField
}
from
"./field"
;
import
{
FormDataValue
}
from
"../form"
;
export
class
SimpleFormField
extends
FormField
<
string
>
{
async
parse
(
raw_value
:
FormDataValue
)
:
Promise
<
FieldParseResult
<
string
>>
{
return
{
parsed_value
:
(
raw_value
||
""
).
toString
(),
parsable
:
true
,
error
:
null
,
};
}
public
getEmptyValue
()
:
string
{
return
""
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Sun, Nov 2, 17:38 (14 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1030469
Default Alt Text
simple-form-field.ts (384 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment