akveo / akveo/ng2-smart-table

typeof cell smart table always string

オープン
#1,226 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.6k
フォーク
867
PR マージ指標
30日以内にマージされた PR はありません

説明

I putted some condition for columns like for example the input must be a number for example:
```
onCreateConfirm(event): void {
var data = { cost : event.newdata.cost}
if( typeof data.cost !== "number") { window.confirm("enter a number please") else { ..do thnigs..}
}
```
The problem here is any data that i enter is always evaluated as type strings even dates.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。