Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F3010277
proxy-field.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
406 B
Referenced Files
None
Subscribers
None
proxy-field.ts
View Options
import
{
FormField
}
from
"./field.js"
;
export
class
ProxyFormField
<
T
>
extends
FormField
<
boolean
,
T
>
{
constructor
(
required
:
boolean
,
public
name
:
string
,
public
empty_value
:
T
,
public
parsed_value
:
T
)
{
super
(
required
);
}
getEmptyValue
()
{
return
this
.
empty_value
;
}
async
parse
()
{
return
<
const
>
{
parsable
:
true
,
error
:
null
,
parsed_value
:
this
.
parsed_value
,
};
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Wed, May 7, 19:39 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
624856
Default Alt Text
proxy-field.ts (406 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment